package com.cloudlinkscm.base.authcenter.domain;

import com.cloudlinkscm.base.authcenter.model.dto.ResourceTree;

import java.util.List;

/**
 * Created by sin on 2017/8/8.
 *
 * 角色：关系分配
 *
 * <P>
 *     租户角色、管理角色资源
 * </P>
 */
public class RoleRelationTreeVO {

	/**
	 * 已分配
	 */
	private List<ResourceTree> distribution;
	/**
	 * 未分配
	 */
	private List<ResourceTree> notDistribution;

	public RoleRelationTreeVO() {
	}

	public RoleRelationTreeVO(List<ResourceTree> notDistribution, List<ResourceTree> distribution) {
		this.distribution = distribution;
		this.notDistribution = notDistribution;
	}

	@Override
	public String toString() {
		return "RoleRelationTreeVO{" +
				"distribution=" + distribution +
				", notDistribution=" + notDistribution +
				'}';
	}

	public List<ResourceTree> getDistribution() {
		return distribution;
	}

	public void setDistribution(List<ResourceTree> distribution) {
		this.distribution = distribution;
	}

	public List<ResourceTree> getNotDistribution() {
		return notDistribution;
	}

	public void setNotDistribution(List<ResourceTree> notDistribution) {
		this.notDistribution = notDistribution;
	}
}
